<html><head><title>EntityAnimationBlendMode</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">EntityAnimationBlendMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>EntityAnimationBlendMode</b></font>(#Entity, Mode)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>


Changes the #Entity animation blendmode. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Entity</i></td>
<td width="90%"> 
The entity to use. 

</td></tr>
<tr><td><i>Mode</i></td>
<td> 
The blend mode can be one of the following value: 

<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_EntityAnimation_Average</font>:    The blend will result of the average of the two animations (default). For example, if
                                  the first animation rotates an arm 40 degrees and the second animation rotates the arm 90 degrees,
                                  the arm will rotate (40+90)/2 = 65 degrees (if the both animation are played with full weight).
  <font color="#924B72">#PB_EntityAnimation_Cumulative</font>: The blend will sum the two animations. For example, if the first animation rotates an arm 40 degrees
                                  and the second animation rotates the arm 90 degrees, the arm will rotate 40+90 = 130 degrees
                                  (if the both animation are played with full weight).
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

When switching from an animation to another with <a href="setentityanimationweight.html">SetEntityAnimationWeight()</a>, 
a blend is applied to have a smooth transition between the animations. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="startentityanimation.html">StartEntityAnimation()</a>, <a href="setentityanimationweight.html">SetEntityAnimationWeight()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=addentityanimationtime.html>AddEntityAnimationTime()</a> - <a href=index.html>EntityAnimation Index</a> - <a href=entityanimationstatus.html>EntityAnimationStatus()</a> ->

</body></html>